﻿using System;
using UnityEngine;

namespace ParticlePlayground
{
	// Token: 0x0200016C RID: 364
	[Serializable]
	public class PlaygroundColliderC
	{
		// Token: 0x060008AF RID: 2223 RVA: 0x00033F60 File Offset: 0x00032160
		public virtual void UpdatePlane()
		{
			if (!this.transform)
			{
				return;
			}
			this.plane.SetNormalAndPosition(this.transform.up, this.transform.position + this.offset);
		}

		// Token: 0x060008B0 RID: 2224 RVA: 0x00033FA0 File Offset: 0x000321A0
		public virtual PlaygroundColliderC Clone()
		{
			return new PlaygroundColliderC
			{
				enabled = this.enabled,
				transform = this.transform,
				plane = new Plane(this.plane.normal, this.plane.distance),
				offset = this.offset
			};
		}

		// Token: 0x040008D5 RID: 2261
		public bool enabled = true;

		// Token: 0x040008D6 RID: 2262
		public Transform transform;

		// Token: 0x040008D7 RID: 2263
		public Plane plane = default(Plane);

		// Token: 0x040008D8 RID: 2264
		public Vector3 offset;
	}
}
